#include <stdio.h>
#include <stdlib.h>

int main(void)
{
    float oneinch = 2.54;   // one inch equal to 2.54cm/inch
    float height;
    puts("one inch equal to 2.54 cm/inch:");
    puts("Enter your height inch:");
    scanf("%f", &height);

    printf("Your height is : %f cm", height / oneinch);
}